package com.flyforum.domain;

import java.io.Serializable;
import java.util.Date;

public class ForumBoard implements Serializable {

	private static final long serialVersionUID = -969440591199947625L;

	private Integer id;

	/**
	 * 版面分组
	 */
	private Integer groupId;

	private Integer parentId;

	/**
	 * 该版面是否只是一个链接
	 */
	private boolean onlyLink = false;

	private String linkTarget = null;

	/**
	 * 子版面的数目(只包括直接子版面)
	 */
	private Integer childCount;

	/**
	 * 显示排序
	 */
	private Integer orderId;

	private String key;

	private String title;

	/**
	 * 对本版面的简单介绍
	 */
	private String comment;

	/**
	 * 对本版面的其他介绍
	 */
	private String description;

	private Date addDate;

	private Date updateStamp;

	public Date getAddDate() {
		return addDate;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getUpdateStamp() {
		return updateStamp;
	}

	public void setUpdateStamp(Date updateStamp) {
		this.updateStamp = updateStamp;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getChildCount() {
		return childCount;
	}

	public void setChildCount(Integer childCount) {
		this.childCount = childCount;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getLinkTarget() {
		return linkTarget;
	}

	public void setLinkTarget(String linkTarget) {
		this.linkTarget = linkTarget;
	}

	public boolean isOnlyLink() {
		return onlyLink;
	}

	public void setOnlyLink(boolean onlyLink) {
		this.onlyLink = onlyLink;
	}

}
